/*
 * Created by LiuYou on 2020/12/15.
 *
 */

#include <iostream>
#include "../AocDisplay.hpp"

void Pc::AocDisplay::show() {
    std::cout << "Aoc 显示器vs" << std::endl;

}

int Pc::AocDisplay::getId() const {
    return id;
}

int Pc::AocDisplay::getLifetime() const {
    return lifetime;
}

const std::string& Pc::AocDisplay::getFeature() const {
    return feature;
}

std::ostream& Pc::operator<<(std::ostream& os, const Pc::AocDisplay& display) {
    os << " id: " << display.id << " lifetime: " << display.lifetime
       << " feature: " << display.feature;
    return os;
}

Pc::AocDisplay::~AocDisplay() = default;
